package com.company.适配器模式;

public class Adapter implements MyFun{
    private Funner funner;

    public Adapter(Funner funner) {
        this.funner = funner;
    }

    @Override
    public void add(Object o) {
        funner.save(o);
    }

    @Override
    public void remove(Object... o) {
        for (Object o1 : o) {
            funner.delete(o1);
        }
    }


}
